package com.baosight.risk.service.zbaa.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * Table: T_ZBAA_TARGET_GROUP_ORDER
 */
@Data
@Table(name = "T_ZBAA_TARGET_GROUP_ORDER")
public class ZbaaTargetGroupOrder extends BaseEntity {

    /**
     * 指标看板分组主键
     * <p>
     * Table:     T_ZBAA_TARGET_GROUP_ORDER
     * Column:    GROUP_ID
     * Nullable:  false
     */
    @ApiModelProperty("指标看板分组主键")
    @Column(name = "GROUP_ID")
    private String groupId;

    /**
     * 订阅指标的主键ID
     * <p>
     * Table:     T_ZBAA_TARGET_GROUP_ORDER
     * Column:    TARGET_NO
     * Nullable:  false
     */
    @ApiModelProperty("指标看板分组主键")
    @Column(name = "TARGET_NO")
    private String targetNo;

    /**
     * 订阅指标的名称
     * <p>
     * Table:     T_ZBAA_TARGET_GROUP_ORDER
     * Column:    TARGET_NAME
     * Nullable:  false
     */
    @ApiModelProperty("指标看板分组名称")
    @Column(name = "TARGET_NAME")
    private String targetName;

    /**
     * 图表样式 0折线图 1柱状图
     * <p>
     * Table:     T_ZBAA_TARGET_GROUP_ORDER
     * Column:    TYPE
     * Nullable:  false
     */
    @ApiModelProperty("图表样式 0折线图 1柱状图")
    @Column(name = "TYPE")
    private String type;


    /**
     * 单位编码
     * <p>
     * Table:     T_ZBAA_TARGET_GROUP_ORDER
     * Column:    COMP_CODE
     * Nullable:  true
     */
    @Column(name = "COMP_CODE")
    private String compCode;

    /**
     * 单位名称
     * <p>
     * Table:     T_ZBAA_TARGET_GROUP_ORDER
     * Column:    COMP_NAME
     * Nullable:  true
     */
    @Column(name = "COMP_NAME")
    private String compName;

    /**
     * 指标周期
     * <p>
     * Table:     T_ZBAA_TARGET_GROUP_ORDER
     * Column:    TARGET_PERIOD_NAME
     * Nullable:  true
     */
    @Column(name = "TARGET_PERIOD_NAME")
    private String targetPeriodName;
}